﻿using KinonekoSoftware.CodariaDB.Documents.Index;

namespace KinonekoSoftware.CodariaDB.Documents.Composites
{
    [Obsolete]
    public sealed class AbilityBundle : RootObject
    {
        private string _name;
        private string _intro;
        
        [BsonIgnore]
        public ObservableCollection<InstanceCache> Abilities { get; set; }
        public ObservableCollection<string>        Items     { get; set; }

        /// <summary>
        /// 获取或设置 <see cref="Intro"/> 属性。
        /// </summary>
        public string Intro
        {
            get => _intro;
            set => SetValue(ref _intro, value);
        }

        /// <summary>
        /// 获取或设置 <see cref="Name"/> 属性。
        /// </summary>
        public string Name
        {
            get => _name;
            set => SetValue(ref _name, value);
        }
    }
}